﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common;

namespace ServerYuGi
{
    public class MainPhase2 : ITurn
    {
        public MainPhase2()
        {
            STurnManager.Register(EnumState.MainPhase2, this);
        }

        #region ITurn Members

        public void SBeginTurn(SSupervisor super)
        {
            // Send Block
            super.SendMessage_TURN_MF2_BLOCK_ToID(super.TurnManager.IDPlayerTrongLuot);
            super.SendMessage_TURN_MAINPHASE2_BEGIN_ToAll(super.TurnManager.IDPlayerTrongLuot);
            

        }
        public void SEndTurn(SSupervisor super)
        { 
            super.SendMessage_TURN_MAINPHASE2_END_ToAll(super.TurnManager.IDPlayerTrongLuot);
        }

        public bool CheckYMSG(YMSG message)
        {
            return true;
        }

        #endregion
    }
}
